Xmipp  v3.23.11-Nereus
Public Types | Static Public Member Functions | List of all members
testing::internal::StlContainerView< Element[N]> Class Template Reference

#include <gmock-internal-utils.h>

Public Types

typedef std::remove_const< Element >::type RawElement
 
typedef internal::NativeArray< RawElementtype
 
typedef const type const_reference
 

Static Public Member Functions

static const_reference ConstReference (const Element(&array)[N])
 
static type Copy (const Element(&array)[N])
 

Detailed Description

template<typename Element, size_t N>
class testing::internal::StlContainerView< Element[N]>

Definition at line 360 of file gmock-internal-utils.h.

Member Typedef Documentation

◆ const_reference

template<typename Element , size_t N>
typedef const type testing::internal::StlContainerView< Element[N]>::const_reference

Definition at line 369 of file gmock-internal-utils.h.

◆ RawElement

template<typename Element , size_t N>
typedef std::remove_const<Element>::type testing::internal::StlContainerView< Element[N]>::RawElement

Definition at line 362 of file gmock-internal-utils.h.

◆ type

template<typename Element , size_t N>
typedef internal::NativeArray<RawElement> testing::internal::StlContainerView< Element[N]>::type

Definition at line 363 of file gmock-internal-utils.h.

Member Function Documentation

◆ ConstReference()

template<typename Element , size_t N>
static const_reference testing::internal::StlContainerView< Element[N]>::ConstReference ( const Element(&)  array[N])
inlinestatic

Definition at line 371 of file gmock-internal-utils.h.

371  {
372  static_assert(std::is_same<Element, RawElement>::value,
373  "Element type must not be const");
374  return type(array, N, RelationToSourceReference());
375  }

◆ Copy()

template<typename Element , size_t N>
static type testing::internal::StlContainerView< Element[N]>::Copy ( const Element(&)  array[N])
inlinestatic

Definition at line 376 of file gmock-internal-utils.h.

376  {
377  return type(array, N, RelationToSourceCopy());
378  }

The documentation for this class was generated from the following file: